package com.ct.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("hainan_special_trans_number") // 指定实体和数据库表hainan_special_trans_record做映射
public class HainanSpecialTransNumber {

    @TableId(type = IdType.AUTO)
    public Integer id;
    @TableField("trans_city_code")
    public Integer transCityCode;
    @TableField(value = "trans_number")
    public String transNumber;
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    public Date createdTime;
    @TableField(value = "updated_time", fill = FieldFill.UPDATE)
    public Date updatedTime;
}
